package panels;

import javax.swing.JTabbedPane;

public class MainPanel extends JTabbedPane {

	/**
	 * 	Main Panel contains all the other swing controls we need.
	 */
	private static final long serialVersionUID = 1L;

	private	MapPanel		mapPanel 		= new MapPanel();
	private	BattlePanel		battlePanel		= new BattlePanel();
	private	ReferencePanel	referencePanel	= new ReferencePanel();
	private LootPanel		lootPanel		= new LootPanel();
	
	public MainPanel() {
		this.addTab("Map", 			mapPanel);
		this.addTab("Battle",		battlePanel);
		this.addTab("Reference",	referencePanel);
		this.addTab("Loot",			lootPanel);
		
		this.setVisible(true);
	}	
}
